package com.wz.project.outStock.stockoutdetail.service;

import java.util.List;
import com.wz.project.outStock.stockoutdetail.domain.OutStockoutDetail;

/**
 * 出库单据子表Service接口
 * 
 * @author wz
 * @date 2022-09-08
 */
public interface IOutStockoutDetailService 
{
    /**
     * 查询出库单据子表
     * 
     * @param stockoutDetailId 出库单据子表ID
     * @return 出库单据子表
     */
    public OutStockoutDetail selectOutStockoutDetailById(String stockoutDetailId);

    /**
     * 查询出库单据子表列表
     * 
     * @param outStockoutDetail 出库单据子表
     * @return 出库单据子表集合
     */
    public List<OutStockoutDetail> selectOutStockoutDetailList(OutStockoutDetail outStockoutDetail);

    /**
     * 新增出库单据子表
     * 
     * @param outStockoutDetail 出库单据子表
     * @return 结果
     */
    public int insertOutStockoutDetail(OutStockoutDetail outStockoutDetail);

    /**
     * 修改出库单据子表
     * 
     * @param outStockoutDetail 出库单据子表
     * @return 结果
     */
    public int updateOutStockoutDetail(OutStockoutDetail outStockoutDetail);

    /**
     * 批量删除出库单据子表
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteOutStockoutDetailByIds(String ids);

    /**
     * 删除出库单据子表信息
     * 
     * @param stockoutDetailId 出库单据子表ID
     * @return 结果
     */
    public int deleteOutStockoutDetailById(String stockoutDetailId);

    void updateOutStockoutDetailBYId(String barcode);
}
